<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/4 0004
 * Time: 下午 5:12
 */
namespace app\api\controller;

use think\Exception;

class Cashregister extends Base{
    public function index(){
        try{
            return show(\Yaconf::get('status.success'),'ok','ok');
        }catch (Exception $ex){
            return show(\Yaconf::get('status.error'),$ex->msg,[]);
        }

    }
}